package com.inspur.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.inspur.dao.TestDao;
import com.inspur.entity.TestEntity;
import com.inspur.service.TestService;

@Transactional
@Service
public class TestServiceImpl implements TestService{
    @Autowired
    private TestDao testDao;
    
    @Override
    public List<TestEntity> getAllFriend() {
        return testDao.selectAllFriend();
    }

}
